background

fun background(id: Identifier): ConfigAction.Builder

Sets a custom background for the button widget, which will appear when the button is selected and active

Return

this builder

Author

fzzyhmstrs

Since

0.5.0

Parameters

id

Identifier the background sprite id


Sets a custom background for the button widget, which will appear when the button is selected and active

Return

this builder

Author

fzzyhmstrs

Since

0.6.4

Parameters

tex

TextureProvider provides the textures for the button in various states

See also